<!--
 * @Author: DUST
 * @Date: 2023-05-17 13:53:30
 * @LastEditors: DUST
 * @LastEditTime: 2023-06-26 17:57:33
 * @FilePath: \vite-project\src\components\browsePageTemplate.vue
 * @Description: 
 * undefined
-->
<template>
  <div class="browsePageTemplate">
    <!-- <div class="browsePageTemplateTitle"></div> -->
    <div class="banner">
      <slot name="banner"></slot>
    </div>
    <div class="browsePageTemplateContent">
      <slot>内容</slot>
    </div>
  </div>
</template>

<script lang="ts" setup>

</script>

<style lang="less" scoped>
.browsePageTemplate {
  width: 100%;
  // height: 100%;
  background-color: #fff;
  display: flex;
  flex-direction: column;
  // justify-content: center;
  align-items: center;
  .browsePageTemplateContent {
    width: 60%;
    height: 100%;
    padding: 20px;
    margin: 0 0 20px;
    box-sizing: border-box;
    text-align: left;
    background-color: #fff;
    position: relative;
    box-shadow: 0 0 6px 2px #eee;
  }
}
</style>